UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All run control scripts must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-906 GEN001580 M6 SV-38013r1_rule ECLP-1 Medium
Description
If the startup files are writable by other users, they could modify to insert malicious commands into the startup files.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide 2013-04-09

Details

Check Text ( C-37706r1_chk )
Open a terminal session and enter the following command to check the mode of launchctl plist files (all on one line).

find /System/Library/LaunchDaemons /System/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons -type f -perm +022 -exec stat -f %Lp:%N {} \;

This will return the octal permissions and name of all files that are group or world writeable. If any launchctl plist file listed is world or group writeable (either or both of the 2 lowest order digits containing a 2, 3, 6, or 7), this is a finding.
Fix Text (F-32944r1_fix)
Open a terminal session and enter the following command to set the mode of the run control script file.

chmod 755